package Exercise2.exercise2;
import java.util.*;
public class Ascii {
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		while(true) {
			System.out.println("请输入整数");
			char a=in.next().charAt(0);
			 int b= a;
			System.out.println("整数的ASCII码为："+b);
			System.out.println("是否继续，继续请输入yes");
			String flag=in.next();
			if(flag.equals("yes")) {
				continue;
			}
			break;
		}
	}
}
